<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateNotisetTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('noti_set', function (Blueprint $table) {
            $table->increments('id');
            $table->string('operator');
            $table->integer('noti_area');
            $table->integer('noti_building');
            $table->integer('noti_room');
            $table->tinyInteger('status')->default(0);
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('noti_set');
    }
}
